'Declaration Public Overloads Shared Sub HighlightSubstring( _ ByVal graphics As Graphics, _ ByVal font As Font, _ ByVal textFormatFlags As TextFormatFlags, _ ByVal foreColor As Color, _ ByVal bounds As Rectangle, _ ByVal text As String, _ ByVal highlightColor As Color, _ ByVal substringRanges As IList(Of CharacterRange) _ )
public static void HighlightSubstring( Graphics graphics, Font font, TextFormatFlags textFormatFlags, Color foreColor, Rectangle bounds, string text, Color highlightColor, IList<CharacterRange> substringRanges )
Parameters
- graphics
- font
- textFormatFlags
- foreColor
- bounds
- text
- highlightColor
- substringRanges